<h3 class="my-3">javascript中，正则表达式的常用方法</h3>
<hr />
<table class="table table-bordered">
  <tr>
    <th width="20%">使用对象</th>
    <th>方法</th>
   </tr>
  <tr>
    <th rowspan="5">正则对象</th>
  </tr>
  <tr>
    <th>compile()【已废弃】</th>
    
  </tr>
  <tr>
    <th>test()</th>
    
  </tr>
  <tr>
    <th>exec()</th>
    
  </tr>
  <tr>
    <th>toString()</th>
    
  </tr>

  <tr>
    <th rowspan="6">字符串对象</th>
  </tr>
  <tr>
    <th>replace()</th>
    
  </tr>
  <tr>
    <th>split()</th>
    
  </tr>
  <tr>
    <th>search()</th>
    
  </tr>
  <tr>
    <th>match()</th>
    
  </tr>
  <tr>
    <th>RegExp()</th>
    
  </tr>
</table>
